package p2p.logic.connection;

import p2p.logic.connection.communication.AbstractCommunicationHandler;
import p2p.logic.connection.communication.gateway.Gateway;
import p2p.logic.connection.communication.message.Message;

public interface ConnectionOwner {
	
	public boolean isRunning();
		
	public void recievedAck(Message message);
	
	public void recievedMessage(Message message);
	
	public String getId();
	
	public Gateway getGateway();
	
	public AbstractCommunicationHandler getCommunicationHandler();
	
}
